package com.boc.langxiang.entity.request;


import java.util.Map;
import java.util.TreeMap;

/**
 * CreateTime: 2016-04-26下午1:06
 * Author: wjkjinke00@126.com
 * Description:
 */
public abstract class MapParamsRequest extends TokenRequest {
    protected TreeMap<String, String> params;

    public MapParamsRequest() {
        this.params = new TreeMap<>();
    }

    public Map<String, String> params() {
        params.clear();
        putParams();
        return params;
    }

    protected abstract void putParams();
}
